<div class="left_content">
     <div class="title"><span class="title_icon"><img src="{$HOME_URL}/images/bullet1.gif" alt="" title="" /></span>Order Details</div>
     <div class="address_list_box">
       	
       <div class="address_form">
	    <div class="form_subtitle">My Order Details</div>
	    <table border="0" width="100%">
	    	<tr height="35">
	    		<td colspan="3">
	    			<b>Order Number:</b>
	    			&nbsp;&nbsp;
	    			<b>#{$arrOrders.id} <small>({$arrOrders.status})</small></b>
	    		</td>
	    	</tr>
			<tr height="20">
  				<td width="120">
   					<b>Order Date:</b>
   				</td>
   				<td>
   					{$arrOrders.createdTime|date_format:"%A %d %B, %Y"}
   				</td>
   			</tr>
   			<tr height="15">
 				<td>
   				</td>
   				<td>
   				</td>
   			</tr>
   			<tr height="20">
 				<td>
   					<b>Shipped To:</b>
   				</td>
   				<td>
   					{$arrOrders.delivery_name} <br> {$arrOrders.delivery_street}<br>{$arrOrders.delivery_city}, {$arrOrders.delivery_state}    {$arrOrders.delivery_postcode}<br> {$arrOrders.delivery_country}
   				</td>
   			</tr>
   			<tr height="15">
 				<td>
   				</td>
   				<td>
   				</td>
   			</tr>
		   	<tr height="20">
   				<td>
   					<b>Products:</b>
   				</td>
   				<td align="left">
   					<table border="0" width="100%">
	    				{foreach item=data from=$arrOrdersProducts}
	    				<tr> 
				            <td align="left" valign="top" width="30">{$data.quantity}&nbsp;x</td> 
				            <td valign="top">{$data.name}<br><nobr><small>
					            {foreach item=attri from = $data.attributes}
						            
						            <i> - {$attri.attribute}: {$attri.attributeValue}
						            	{if $attri.attributeValuePrice != 0}
					    					($+{$attri.attributeValuePrice / 100})
					    				{/if}
						            </i><br>
						            
						        {/foreach}
				            </small></nobr></td> 
				            <td align="left" valign="top">${$data.finalPrice / 100}</td> 
				          </tr>
	    				{/foreach}
	    			</table>
   				</td>
   			</tr>
   			<tr height="15">
 				<td>
   				</td>
   				<td>
   				</td>
   			</tr>
   			<tr height="20">
   				<td>
   					<b>Billing:</b>
   				</td>
   				<td>
   					{$arrOrders.billing_name} <br> {$arrOrders.billing_street}<br> {$arrOrders.billing_city}, {$arrOrders.billing_state}    {$arrOrders.billing_postcode}<br> {$arrOrders.billing_country}
   				</td>
   			</tr>
   			<tr height="15">
 				<td>
   				</td>
   				<td>
   				</td>
   			</tr>
   			<tr height="20">
  				<td>
   					<b>Billing Total:</b>
   				</td>
   				<td align="left">
   					<table border="0" width="100%" cellspacing="0" cellpadding="2">
					{foreach item=data from=$arrAccountList}
		              <tr> 
		                <td align="right" width="100%">{$data.classes}:</td> 
		                <td align="left">${$data.amount / 100}</td> 
		              </tr>
		              {/foreach}
		
		            </table>
   				</td>
   			</tr>
		   	<tr height="15">
 				<td>
   				</td>
   				<td>
   				</td>
   			</tr>
   			<tr height="20">
  				<td>
   					<b>Payment Method:</b>
   				</td>
   				<td>
   					{$arrOrders.payment_method}
   				</td>
   			</tr>
   			<tr height="15">
 				<td>
   				</td>
   				<td>
   				</td>
   			</tr>
   			<tr height="20">
  				<td>
   					<b>Order History:</b>
   				</td>
   				<td>
   					<table border="0" width="100%" cellspacing="0" cellpadding="2">
					{foreach item=data from=$arrStatusList}
		              <tr> 
		                <td valign="top" width="120">{$data.datePurchased|date_format:"%m/%d/%Y %H:%M:%S"}</td> 
		                <td valign="top" width="70">{$data.status}</td> 
		                <td valign="top">{$data.comments|nl2br}</td> 
		              </tr>
		              {/foreach}
		             </table>
		
		            </table>
   				</td>
   			</tr>
 	   	</table>
	   	
		<div class="form_row">
           	<a href="{$HOME_URL}/ordersList.php" class="continue">&lt; Back</a> 
           </div>
		<div class="clear"></div>
	</div>
	
     </div>
     <div class="clear"></div>
</div>